package org.liuqm.proxy.staticproxy;

import java.util.Date;

/**
 * 实际看房人
 */
public class RealBuyer implements Buyer{


    @Override
    public void lookHome(String userName,boolean hasWeChat) {
        if(hasWeChat){
            System.out.println("获取房东微信");
        }

        System.out.println(userName+"，看房子！");
    }

    @Override
    public void buyerHome(String userName, boolean hasWeChat) {
        if(hasWeChat){
            System.out.println("获取房东微信");
        }

        System.out.println(userName+"，买房子！");
    }
}
